package zk.weart.api.activity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 活动表
 * </p>
 *
 * @author zkj
 * @since 2022-05-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_activity")
@ApiModel(value="TActivity对象", description="活动表")
public class TActivity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "流水id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "1：征集作品 2：不需征集作品 3：投票征集")
    @TableField("type")
    private Boolean type;

    @ApiModelProperty(value = "报名角色 0：全部 1：仅创作者报名")
    @TableField("part")
    private Boolean part;

    @ApiModelProperty(value = "模板：	0：无信息收集 1：有信息收集")
    @TableField("form_work")
    private Boolean formWork;

    @ApiModelProperty(value = "说明")
    @TableField("explanation")
    private String explanation;

    @ApiModelProperty(value = "地址")
    @TableField("location")
    private String location;

    @ApiModelProperty(value = "活动起始时间")
    @TableField("start_time")
    private Integer startTime;

    @ApiModelProperty(value = "活动结束时间")
    @TableField("end_time")
    private Integer endTime;

    @ApiModelProperty(value = "按钮文字信息 eg:我要报名")
    @TableField("button_text")
    private String buttonText;

    @ApiModelProperty(value = "报名成功提示信息")
    @TableField("success_msg")
    private String successMsg;

    @ApiModelProperty(value = "封面信息")
    @TableField("cover_pic")
    private String coverPic;

    @ApiModelProperty(value = "落地页图片")
    @TableField("activity_pic")
    private String activityPic;

    @ApiModelProperty(value = "banner图片")
    @TableField("banner_pic")
    private String bannerPic;

    @ApiModelProperty(value = "收集框信息 json串存储")
    @TableField("collect_info")
    private String collectInfo;

    @ApiModelProperty(value = "状态信息 json串存储")
    @TableField("status_info")
    private String statusInfo;

    @ApiModelProperty(value = "优秀代表作品")
    @TableField("super_works")
    private String superWorks;

    @ApiModelProperty(value = "条款名字")
    @TableField("clause_name")
    private String clauseName;

    @ApiModelProperty(value = "条款路径")
    @TableField("clause_path")
    private String clausePath;

    @ApiModelProperty(value = "生效时间")
    @TableField("effective_time")
    private Integer effectiveTime;

    @ApiModelProperty(value = "发布状态 0：待发布 1：预约发布 2：已取消 3：已发布 4:已过期")
    @TableField("release_status")
    private Boolean releaseStatus;

    @ApiModelProperty(value = "显示在哪里 0：全部展示 1：app 2：h5 3：app+h5")
    @TableField("show_addr")
    private Boolean showAddr;

    @ApiModelProperty(value = "特殊类型 1：普通活动 2：艺术项目")
    @TableField("special_type")
    private Boolean specialType;

    @ApiModelProperty(value = "后台录入人员")
    @TableField("erp_id")
    private Integer erpId;

    @ApiModelProperty(value = "录入时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Integer createTime;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private Integer updateTime;

    @ApiModelProperty(value = "后台操作人员id")
    @TableField("op_erp_id")
    private Integer opErpId;

    @ApiModelProperty(value = "0:未删除 1：删除")
    @TableField("is_deleted")
    private Boolean deleted;


}
